package com.zzy.service;

import com.zzy.model.User;

import java.util.List;

public interface UserService {
    public List<User> findAll();

    public void saveUser(User user);

    public User findOne(long id);
    /**根据多查询条件获取 单个 */
    public User findModelByParam(User user);

    public void delete(long id);

    public List<User> findByName(String name);

}